This module collects ip validation routines to make input validation,
and untainting easier and more readable.
